| Name | Description |
|---|---|
| SendReal | Send Real signal to bus |
| SendBoolean | Send Boolean signal to bus |
| SendInteger | Send Integer signal to bus |
| ReceiveReal | Receive Real signal from bus |
| ReceiveBoolean | Receive Boolean signal from bus |
| ReceiveInteger | Receive Integer signal from bus |
| Internal | Internal connector definitions only to be used from models of package BusAdaptors |
Modelica.Blocks.Interfaces.BusAdaptors.SendReal
Converts an InPort connector to a signal which can be connected to the signal bus. Connect connector 'toBus' with the signal bus. A pop-up dialog appears which allows to specify the signal from the bus which is set equal to the signal of the InPort connector.
block SendReal "Send Real signal to bus"
Internal.OutputReal toBus;
InPort inPort(
final n=1);
equation
toBus = inPort.signal[1];
end SendReal;
Modelica.Blocks.Interfaces.BusAdaptors.SendBoolean
Converts a BooleanInPort connector to a signal which can be connected to the signal bus. Connect connector 'toBus' with the signal bus. A pop-up dialog appears which allows to specify the signal from the bus which is set equal to the signal of the BooleanInPort connector.
block SendBoolean "Send Boolean signal to bus"
Internal.OutputBoolean toBus;
BooleanInPort inPort(
final n=1);
equation
toBus = inPort.signal[1];
end SendBoolean;
Modelica.Blocks.Interfaces.BusAdaptors.SendInteger
Converts an IntegerInPort connector to a signal which can be connected to the signal bus. Connect connector 'toBus' with the signal bus. A pop-up dialog appears which allows to specify the signal from the bus which is set equal to the signal of the IntegerInPort connector.
block SendInteger "Send Integer signal to bus"
Internal.OutputInteger toBus;
IntegerInPort inPort(
final n=1);
equation
toBus = inPort.signal[1];
end SendInteger;
Modelica.Blocks.Interfaces.BusAdaptors.ReceiveReal
Converts a signal from the signal bus to an OutPort connector. Use this element by connecting connector 'fromBus' with the signal bus. A pop-up dialog appears which allows to specify the signal from the bus which is set equal to the signal of the OutPort connector.
block ReceiveReal "Receive Real signal from bus"
Internal.InputReal fromBus;
OutPort outPort(
final n=1);
equation
fromBus = outPort.signal[1];
end ReceiveReal;
Modelica.Blocks.Interfaces.BusAdaptors.ReceiveBoolean
Converts a signal from the signal bus to a BooleanOutPort connector. Use this element by connecting connector 'fromBus' with the signal bus. A pop-up dialog appears which allows to specify the signal from the bus which is set equal to the signal of the BooleanOutPort connector.
block ReceiveBoolean "Receive Boolean signal from bus"
Internal.InputBoolean fromBus;
BooleanOutPort outPort(
final n=1);
equation
fromBus = outPort.signal[1];
end ReceiveBoolean;
Modelica.Blocks.Interfaces.BusAdaptors.ReceiveInteger
Converts a signal from the signal bus to an IntegerOutPort connector. Use this element by connecting connector 'fromBus' with the signal bus. A pop-up dialog appears which allows to specify the signal from the bus which is set equal to the signal of the IntegerOutPort connector.
block ReceiveInteger "Receive Integer signal from bus"
Internal.InputInteger fromBus;
IntegerOutPort outPort(
final n=1);
equation
fromBus = outPort.signal[1];
end ReceiveInteger;